PixelYourSite\CustomEvent D

Total Complexity 257
Dependencies 3
Dependents 2
Total lines 1,083
Lines of code 678
Logical lines of code 340
Comment lines 57
Methods 53
Properties 10

Methods 53

Method Rating Maintainability Complexity Lines of code
update()
D
13
92 230
updateGTM()
C
39 25 56
updateGA()
B
43 20 45
initialize()
A
46 13 35
migrateUnifyGA()
A
50 8 27
getAllGTMParams()
A
53 8 25
getGaParams()
S
56 7 19
getGACustomParams()
S
56 6 19
checkConditions()
S
55 5 20
isGTMPresent()
S
59 4 14
getDelay()
S
63 3 11
getGoogleAnalyticsAction()
S
75 3 4
__get()
S
65 3 10
getGTMAction()
S
78 3 3
getManualCustomObjectName()
S
78 3 3
getMergedAction()
S
78 3 3
transformTitle()
S
61 2 12
getFacebookEventType()
S
79 2 3
getGAMergedCustomParams()
S
72 2 6
getPageVisitTriggers()
S
79 2 3
getFacebookParams()
S
80 2 3
getFacebookCustomParams()
S
80 2 3
getGTMParams()
S
70 2 7
getPinterestEventType()
S
74 2 5
getGTMCustomParams()
S
68 2 7
getPinterestCustomParams()
S
80 2 3
__set()
S
74 2 5
isGaV4()
S
68 2 7
getMergedGaParams()
S
70 2 7
getFacebookParam()
S
78 2 3
removeGTMCustomTrigger()
S
82 1 3
clearGTM()
S
70 1 6
isGTMEnabled()
S
81 1 3
hasAutomatedParam()
S
81 1 3
getGTMCustomParamsAdmin()
S
82 1 3
useCustomNameObject()
S
81 1 3
__construct()
S
81 1 3
clearGa()
S
65 1 9
isBingEnabled()
S
81 1 3
isUnifyAnalyticsEnabled()
S
81 1 3
isPinterestParamsEnabled()
S
81 1 3
isPinterestEnabled()
S
81 1 3
isFacebookParamsEnabled()
S
81 1 3
isFacebookEnabled()
S
81 1 3
getConditions()
S
82 1 3
getTriggers()
S
82 1 3
getTriggerType()
S
82 1 3
isEnabled()
S
82 1 3
getTitle()
S
82 1 3
getPostId()
S
82 1 3
disable()
S
75 1 4
enable()
S
75 1 4
isGoogleAnalyticsEnabled()
S
81 1 3